<layout name="Iflayout"/>
<div class="xyh-content">

    <div class="row">
        <div class="col-lg-12">
            <h3 class="page-header"><em class="glyphicon glyphicon-cloud-upload"></em>
                回复留言
            </h3>
        </div>

    </div>


    <div class="row">
        <div class="col-lg-12">

            <form method='post' class="form-horizontal" id="form_do" name="form_do" action="{:U('addUser')}">
                <div class="form-group">
                    <label for="inputUsername" class="col-sm-2 control-label">姓名</label>
                    <div class="col-sm-9">
                        <input type="text" name="username" id="inputUsername" class="form-control" placeholder="姓名" />
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputTel" class="col-sm-2 control-label">电话</label>
                    <div class="col-sm-9">
                        <input type="text" name="tel" id="inputTel" class="form-control" placeholder="电话" />
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputEmail" class="col-sm-2 control-label">Email</label>
                    <div class="col-sm-9">
                        <input type="text" name="email" id="inputEmail" class="form-control" placeholder="Email" />
                    </div>
                </div>

                <div class="form-group">
                    <label for="inputQQ" class="col-sm-2 control-label">QQ</label>
                    <div class="col-sm-9">
                        <input type="text" name="qq" id="inputQQ" class="form-control" placeholder="QQ" />
                    </div>
                </div>


                <div class="form-group">
                    <label for="inputContent" class="col-sm-2 control-label">留言</label>
                    <div class="col-sm-9">
                        <textarea name="content" id="inputContent" class="form-control" rows="6"></textarea>
                    </div>
                </div>
                <div class="form-group">
                    <label for="" class="col-sm-2 control-label">保密</label>
                    <div class="col-sm-9">
                        <label class="radio-inline"><input type="radio" name="status" value="0" checked="checked"  />公开</label>
                        <label class="radio-inline">
                            <input type="radio" name="status" value="1" />悄悄话</label>
                    </div>
                </div>
                <div class="row margin-botton-large">
                    <div class="col-sm-offset-2 col-sm-9">
                        <div class="btn-group">
                            <input type="hidden" value="<?=time()?>" name="posttime">
                            <input type="hidden" value="<?=$_SERVER['SERVER_ADDR']?>" name="ip">
                            <button type="submit" class="btn btn-primary"> <i class="glyphicon glyphicon-saved"></i>
                                保存
                            </button>
                            <button type="button" onclick="goUrl('index')" class="btn btn-default"> <i class="glyphicon glyphicon-chevron-left"></i>
                                返回
                            </button>
                        </div>
                    </div>
                </div>
            </form>

        </div>
    </div>






</div>
</body>
</html>